package com.groot.medical.service;

import com.groot.medical.entity.ChronicPolicy;
import com.groot.medical.entity.PageBean;

public interface ChronicPolicyService {
	/**
	 * 分页查询
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	PageBean findChronicPolicyInfoByPage(int pageNum, int pageSize);
	/**
	 * 添加慢性病政策
	 * @param policy
	 */
	void addChronicPolicyInfo(ChronicPolicy policy);
	/**
	 * 查询慢性病政策信息根据id
	 * @param id
	 * @return
	 */
	ChronicPolicy findChronicPolicyInfoById(String id);
	/**
	 * 修改慢性病政策
	 * @param policy
	 */
	void editChronicPolicyInfo(ChronicPolicy policy);
	/**
	 * 根据当前年份当前年份的慢性病政策信息
	 * @param nowTime
	 * @return
	 */
	ChronicPolicy findChronicPolicyInfoByYear(String nowTime);

}
